﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess
{
    public class Invoice
    {
        public InvoiceId Id { get; set; }
        public string ProfileId { get; set; }
        public string Customer { get; set; }

       
    }

    public partial class InvoiceId
    {
        private string _invoiceId;

        public InvoiceId(string invoiceId)
        {
            _invoiceId = invoiceId;
        }

        public static implicit operator InvoiceId(string invoiceId)
        {
            // While not technically a requirement; see below why this is done.
            if (invoiceId == null)
                return null;

            return new InvoiceId(invoiceId);
        }
    }
	
}
